using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN GiaoVienNgayNghiEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:25/02/2012 41:11:06</para>
	/// <para>Class Name: GiaoVienNgayNghiEntity</para>
	/// <para>Description: ClassGiaoVienNgayNghiEntity store data of table GiaoVienNgayNghi</para>
	///</summary>

	[DataContract]
	public partial class GiaoVienNgayNghiEntity{


		private bool _InternalChangedIsNullGiaoVienNgayNghi_ID=true;
		private bool _IsNullGiaoVienNgayNghi_ID=true;
		private bool _InternalChangedIsNullGiaoVien_ID=true;
		private bool _IsNullGiaoVien_ID=true;
		private bool _InternalChangedIsNullThu_ID=true;
		private bool _IsNullThu_ID=true;
		private bool _InternalChangedIsNullTietHoc_ID=true;
		private bool _IsNullTietHoc_ID=true;
		private int _GiaoVienNgayNghi_ID;
		private int _GiaoVien_ID;
		private int _Thu_ID;
		private int _TietHoc_ID;
		[DataMember]
		public bool IsNullGiaoVienNgayNghi_ID{
			get{return _IsNullGiaoVienNgayNghi_ID;}
			set{if(!_InternalChangedIsNullGiaoVienNgayNghi_ID)_IsNullGiaoVienNgayNghi_ID=value;}
		}
		[DataMember]
		public bool IsNullGiaoVien_ID{
			get{return _IsNullGiaoVien_ID;}
			set{if(!_InternalChangedIsNullGiaoVien_ID)_IsNullGiaoVien_ID=value;}
		}
		[DataMember]
		public bool IsNullThu_ID{
			get{return _IsNullThu_ID;}
			set{if(!_InternalChangedIsNullThu_ID)_IsNullThu_ID=value;}
		}
		[DataMember]
		public bool IsNullTietHoc_ID{
			get{return _IsNullTietHoc_ID;}
			set{if(!_InternalChangedIsNullTietHoc_ID)_IsNullTietHoc_ID=value;}
		}
		[DataMember]
		public int GiaoVienNgayNghi_ID{
			get{return _GiaoVienNgayNghi_ID;}
			set{
				_GiaoVienNgayNghi_ID=value;
				if(_GiaoVienNgayNghi_ID!=null){
					_IsNullGiaoVienNgayNghi_ID=false;
					_InternalChangedIsNullGiaoVienNgayNghi_ID=true;
				}
			}
		}
		[DataMember]
		public int GiaoVien_ID{
			get{return _GiaoVien_ID;}
			set{
				_GiaoVien_ID=value;
				if(_GiaoVien_ID!=null){
					_IsNullGiaoVien_ID=false;
					_InternalChangedIsNullGiaoVien_ID=true;
				}
			}
		}
		[DataMember]
		public int Thu_ID{
			get{return _Thu_ID;}
			set{
				_Thu_ID=value;
				if(_Thu_ID!=null){
					_IsNullThu_ID=false;
					_InternalChangedIsNullThu_ID=true;
				}
			}
		}
		[DataMember]
		public int TietHoc_ID{
			get{return _TietHoc_ID;}
			set{
				_TietHoc_ID=value;
				if(_TietHoc_ID!=null){
					_IsNullTietHoc_ID=false;
					_InternalChangedIsNullTietHoc_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END GiaoVienNgayNghiEntityBase*****************************************/
	/*****************************************************************************************************/
}

